import Layout from '../../views/layout/Layout'

export default {
  name: 'dataEngine',
  path: '/dataEngine',
  redirect: '/dataEngine/index',
  component: Layout,
  equType: 'qzj',
  meta: { title: '数据引擎', icon: 'dashboard', roles: ['system', 'admin'] },
  children: [
    // {
    //   path: 'dataRepairPage',
    //   name: 'dataRepairPage',
    //   component: () => import('@/views/modules/dataEngine/dataRepair/index'),
    //   meta: {title: '维修数据', icon: '数据看板', roles: ['system', 'admin']},
    // },
    // {
    //   path: 'dataCheckPage',
    //   name: 'dataCheckPage',
    //   component: () => import('@/views/modules/dataEngine/dataCheck/index'),
    //   meta: {title: '检测数据', icon: '数据看板', roles: ['system', 'admin']}
    // },
    // {
    //   path: 'regularCheckPage',
    //   name: 'regularCheckPage',
    //   component: () => import('@/views/modules/dataEngine/regularCheck/index'),
    //   meta: {title: '定检数据', icon: '数据看板', roles: ['system', 'admin']}
    // },
    // {
    //   path: 'modulePredictPage',
    //   name: 'modulePredictPage',
    //   component: () => import('@/views/modules/dataEngine/modulePredict/index'),
    //   meta: {title: '模型预测', icon: '数据看板', roles: ['system', 'admin']}
    // }
    {
      path: 'regular',
      name: 'regular',
      component: () => import('@/views/modules/dataEngine/regular/index'),
      meta: { title: '定检数据', icon: '数据看板', roles: ['system', 'admin'] }
    },
    {
      path: 'spot',
      name: 'spot',
      component: () => import('@/views/modules/dataEngine/spot/index'),
      meta: { title: '点检数据', icon: '数据看板', roles: ['system', 'admin'] }
    },
    {
      path: 'check',
      name: 'check',
      component: () => import('@/views/modules/dataEngine/check/index'),
      meta: { title: '检测数据', icon: '数据看板', roles: ['system', 'admin'] }
    }, {
      path: 'repair',
      name: 'repair',
      component: () => import('@/views/modules/dataEngine/repair/index'),
      meta: { title: '维修数据', icon: '数据看板', roles: ['system', 'admin'] }
    }, {
      path: 'jiankong',
      name: 'jiankong',
      component: () => import('@/views/modules/dataEngine/jiankong/index'),
      meta: { title: '监控数据', icon: '数据看板', roles: ['system', 'admin'] }
    }, {
      path: 'jiance',
      name: 'jiance',
      component: () => import('@/views/modules/dataEngine/jiance/index'),
      meta: { title: '监测数据', icon: '数据看板', roles: ['system', 'admin'] }
    }
  ]
}
